:root {
  --el-menu-horizontal-sub-item-height: 42px;
}

.el-button:focus-visible,
.el-dropdown:focus-visible,
.el-tooltip__trigger:focus-visible {
  outline: none !important;
}

.easy-link {
  color: var(--el-color-primary);
  cursor: pointer;
}

.search-form .el-input {
  --el-input-width: 220px;
}

.search-form .el-select {
  --el-select-width: 220px;
}

/** table style */
.el-table {
  --easy-table-header-bg-color: #f8f8f9;
  --el-table-tr-bg-color: transparent;

  .el-table__header th.el-table__cell {
    padding: 14px 0;
    background-color: var(--easy-table-header-bg-color) !important;
  }

  .el-table__body-wrapper .el-table__cell {
    padding: 12px 0;

    .cell {
      padding: 0 6px;
    }
  }
}

/** tree style */
.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content {
  background-color: var(--easy-bg-active-color) !important;
}

.two-line-ellipsis {
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 2;
  white-space: normal;
  -webkit-box-orient: vertical;
}

/** form style */
// form item error 防止定位超出高度重叠 */
.el-form-item__error {
  position: relative;
  top: 0;
}
